home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global ppl, advance, foes
- set the memberNum of sprite getAt(ppl, 1) to member(the memberNum of sprite getAt(ppl, 1) + 1, 2)
- set the locV of sprite getAt(ppl, 1) to the locV of sprite getAt(ppl, 1) + 17
- if sprite(getAt(ppl, 1)).flipH = 0 then
- set the locH of sprite getAt(ppl, 1) to the locH of sprite getAt(ppl, 1) + 17
- else
- set the locH of sprite getAt(ppl, 1) to the locH of sprite getAt(ppl, 1) - 17
- end if
- set the constraint of sprite 10 to 39
- set the constraint of sprite 11 to 39
- set the constraint of sprite 12 to 39
- set the constraint of sprite 13 to 39
- if advance < 12 then
- if getAt(foes, 1) < 56 then
- setAt(foes, 1, 65)
- chkhit(getAt(ppl, 2), 56, 65, 2, 1, 73)
- end if
- if getAt(foes, 2) < 175 then
- setAt(foes, 2, 180)
- chkhit(getAt(ppl, 3), 175, 180, 3, 2, 207)
- end if
- if getAt(foes, 3) < 175 then
- setAt(foes, 3, 180)
- chkhit(getAt(ppl, 3), 175, 180, 4, 3, 207)
- end if
- end if
- end
-